<?php

namespace App\Modules\Admin\Entities\System;

use App\Models\Model;
use App\Modules\Admin\Entities\Member\UsersModel;

class FeedbackModel extends Model
{
    protected $table='feedback';
    protected $primaryKey='id';

    public function user_info(){
        return $this->hasOne(UsersModel::class,'id','user_id')->select(['id','username']);
    }
}
